package p270jp.pxv.android.commonObjects.model;

import android.support.p024v4.media.C0261e;
import com.google.android.gms.ads.C2047a;
import java.io.Serializable;
import p014ae.C0172v6;
import p325m0.MutabilityOwnership;
import p389ob.SerializedName;

/* compiled from: PixivApplicationInfo.kt */
/* renamed from: jp.pxv.android.commonObjects.model.PixivApplicationInfo */
/* loaded from: classes2.dex */
public final class PixivApplicationInfo implements Serializable {
    @SerializedName("latest_version")
    private final String latestVersion;
    @SerializedName("notice_exists")
    private final boolean noticeExists;
    @SerializedName("notice_id")
    private final String noticeId;
    @SerializedName("notice_important")
    private final boolean noticeImportant;
    @SerializedName("notice_message")
    private final String noticeMessage;
    @SerializedName("store_url")
    private final String storeUrl;
    @SerializedName("update_available")
    private final boolean updateAvailable;
    @SerializedName("update_message")
    private final String updateMessage;
    @SerializedName("update_required")
    private final boolean updateRequired;

    public PixivApplicationInfo(String str, boolean z, boolean z2, String str2, String str3, String str4, boolean z3, boolean z4, String str5) {
        MutabilityOwnership.m3745m(str, "latestVersion");
        MutabilityOwnership.m3745m(str2, "updateMessage");
        MutabilityOwnership.m3745m(str3, "storeUrl");
        MutabilityOwnership.m3745m(str4, "noticeId");
        MutabilityOwnership.m3745m(str5, "noticeMessage");
        this.latestVersion = str;
        this.updateRequired = z;
        this.updateAvailable = z2;
        this.updateMessage = str2;
        this.storeUrl = str3;
        this.noticeId = str4;
        this.noticeImportant = z3;
        this.noticeExists = z4;
        this.noticeMessage = str5;
    }

    public final String component1() {
        return this.latestVersion;
    }

    public final boolean component2() {
        return this.updateRequired;
    }

    public final boolean component3() {
        return this.updateAvailable;
    }

    public final String component4() {
        return this.updateMessage;
    }

    public final String component5() {
        return this.storeUrl;
    }

    public final String component6() {
        return this.noticeId;
    }

    public final boolean component7() {
        return this.noticeImportant;
    }

    public final boolean component8() {
        return this.noticeExists;
    }

    public final String component9() {
        return this.noticeMessage;
    }

    public final PixivApplicationInfo copy(String str, boolean z, boolean z2, String str2, String str3, String str4, boolean z3, boolean z4, String str5) {
        MutabilityOwnership.m3745m(str, "latestVersion");
        MutabilityOwnership.m3745m(str2, "updateMessage");
        MutabilityOwnership.m3745m(str3, "storeUrl");
        MutabilityOwnership.m3745m(str4, "noticeId");
        MutabilityOwnership.m3745m(str5, "noticeMessage");
        return new PixivApplicationInfo(str, z, z2, str2, str3, str4, z3, z4, str5);
    }

    @Override // java.lang.Object
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof PixivApplicationInfo)) {
            return false;
        }
        PixivApplicationInfo pixivApplicationInfo = (PixivApplicationInfo) obj;
        return MutabilityOwnership.m3749h(this.latestVersion, pixivApplicationInfo.latestVersion) && this.updateRequired == pixivApplicationInfo.updateRequired && this.updateAvailable == pixivApplicationInfo.updateAvailable && MutabilityOwnership.m3749h(this.updateMessage, pixivApplicationInfo.updateMessage) && MutabilityOwnership.m3749h(this.storeUrl, pixivApplicationInfo.storeUrl) && MutabilityOwnership.m3749h(this.noticeId, pixivApplicationInfo.noticeId) && this.noticeImportant == pixivApplicationInfo.noticeImportant && this.noticeExists == pixivApplicationInfo.noticeExists && MutabilityOwnership.m3749h(this.noticeMessage, pixivApplicationInfo.noticeMessage);
    }

    public final String getLatestVersion() {
        return this.latestVersion;
    }

    public final boolean getNoticeExists() {
        return this.noticeExists;
    }

    public final String getNoticeId() {
        return this.noticeId;
    }

    public final boolean getNoticeImportant() {
        return this.noticeImportant;
    }

    public final String getNoticeMessage() {
        return this.noticeMessage;
    }

    public final String getStoreUrl() {
        return this.storeUrl;
    }

    public final boolean getUpdateAvailable() {
        return this.updateAvailable;
    }

    public final String getUpdateMessage() {
        return this.updateMessage;
    }

    public final boolean getUpdateRequired() {
        return this.updateRequired;
    }

    @Override // java.lang.Object
    public int hashCode() {
        int hashCode = this.latestVersion.hashCode() * 31;
        boolean z = this.updateRequired;
        int i = 1;
        if (z) {
            z = true;
        }
        int i2 = z ? 1 : 0;
        int i3 = z ? 1 : 0;
        int i4 = z ? 1 : 0;
        int i5 = (hashCode + i2) * 31;
        boolean z2 = this.updateAvailable;
        if (z2) {
            z2 = true;
        }
        int i6 = z2 ? 1 : 0;
        int i7 = z2 ? 1 : 0;
        int i8 = z2 ? 1 : 0;
        int a = C0172v6.m12134a(this.noticeId, C0172v6.m12134a(this.storeUrl, C0172v6.m12134a(this.updateMessage, (i5 + i6) * 31, 31), 31), 31);
        boolean z3 = this.noticeImportant;
        if (z3) {
            z3 = true;
        }
        int i9 = z3 ? 1 : 0;
        int i10 = z3 ? 1 : 0;
        int i11 = z3 ? 1 : 0;
        int i12 = (a + i9) * 31;
        boolean z4 = this.noticeExists;
        if (!z4) {
            i = z4 ? 1 : 0;
        }
        return this.noticeMessage.hashCode() + ((i12 + i) * 31);
    }

    @Override // java.lang.Object
    public String toString() {
        StringBuilder c = C0261e.m12042c("PixivApplicationInfo(latestVersion=");
        c.append(this.latestVersion);
        c.append(", updateRequired=");
        c.append(this.updateRequired);
        c.append(", updateAvailable=");
        c.append(this.updateAvailable);
        c.append(", updateMessage=");
        c.append(this.updateMessage);
        c.append(", storeUrl=");
        c.append(this.storeUrl);
        c.append(", noticeId=");
        c.append(this.noticeId);
        c.append(", noticeImportant=");
        c.append(this.noticeImportant);
        c.append(", noticeExists=");
        c.append(this.noticeExists);
        c.append(", noticeMessage=");
        return C2047a.m8800b(c, this.noticeMessage, ')');
    }
}
